package com.kaili.basic.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.kaili.common.pojo.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.codehaus.jackson.map.Serializers;

import java.util.Date;

@Data
@ApiModel(description = "机构分页查所有Vo")
@ExcelTarget("MdmOrgExport")
public class MdmOrgQueryAllVo extends BaseVo {
    @ApiModelProperty("机构ID")
    private int id;
    @Excel(name = "机构编码", orderNum = "1")
    @ApiModelProperty("机构编码")
    private String orgCode;
    @Excel(name = "机构名称", orderNum = "2")
    @ApiModelProperty("机构名称")
    private String orgName;
    @ApiModelProperty("所属公司ID")
    private int companyId;
    @Excel(name = "所属公司", orderNum = "3")
    @ApiModelProperty("所属公司名称")
    private String companyName;
    @ApiModelProperty("所属省份ID")
    private int provinceId;
    @Excel(name = "所属省份", orderNum = "4")
    @ApiModelProperty("所属省份名称")
    private String provinceName;
    @ApiModelProperty("所属城市ID")
    private int cityId;
    @Excel(name = "所属城市", orderNum = "5")
    @ApiModelProperty("所属城市名称")
    private String cityName;
    @ApiModelProperty("所属区县ID")
    private int countyId;
    @Excel(name = "所属区县", orderNum = "6")
    @ApiModelProperty("所属区县名称")
    private String countyName;
    @Excel(name = "地址", orderNum = "7")
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("创建人ID")
    private Integer createBy;
    @Excel(name = "创建时间", orderNum = "8")
    @ApiModelProperty("创建时间")
    private Date createTime;
}
